import java.util.Scanner;
import javax.sound.sampled.AudioFormat;
public class Reverse
{ 
    public static void main(String[] args) 
    {
        Run a = new Run();
        //输入一个一维数组
        Scanner input = new Scanner(System.in);
        System.out.println("Please load in the array's length.");
        a.len = input.nextInt(); 
        int[] arr = new int [a.len];//方法定义在类里，调用方法就要开辟对象，不然找不到对象
        System.out.println("Please load in the array's data in order");
        for (int i = 0; i < arr.length; i++) 
        {   
            arr[i] = input.nextInt();
        }
        //这里为啥不能以类来定义数组呢
        //Run a = new Run();
        //调用方法
        a.circle(arr);//括号内放传入的参数
        input.close();
    }
}

